<?php $tabId = $this->uuid('div', $this->here); ?>
<div id="divSites">
    <fieldset>
        <legend>Sites Information</legend>
        <div id="<?php echo $tabId; ?>">
            <ul>
                <?php foreach ($this->data as $site) : ?>
                    <li><?php echo $html->link($site['Site']['name'], array('controller' => 'its_customers', 'action' => 'view_site', $site['Site']['customer_id'], $site['Site']['id'])); ?></li>
                <?php endforeach; ?>
                    <li><?php echo $html->link('New', array('controller' => 'its_customers', 'action' => 'view_site', $customer_id)); ?></li>
                </ul>
            </div>
        </fieldset>
    </div>
    <script type="text/javascript">
        $j(function() {
            $j("#<?php echo $tabId; ?>").tabs(tab_options);
    });
</script>
